package com.cabal.common.errcode;

public enum CommonErrorCodeEnum implements TmsConstant {
    SUCCESS("200", "成功"),
    FAIL("100001", "失败"),
    INPUT_ERROR("100002", "输入参数有误"),
    ERROR_NOT_FOUND("100100", "您所请求的资源不存在")
    ;
    private String code;
    private String value;

    CommonErrorCodeEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getValue() {
        return value;
    }
}